package com.atguigu.lease.common.constant;

import lombok.Data;

/**
 * redis  常量类
 *
 * @Author mr.luo
 * @Date 21 5月 2025 10:23
 */
@Data
public class RedisConstant {
    //  后台登录Key前缀
    public static final String ADMIN_LOGIN_PREFIX = "admin:login:";
    //  登录验证码过期时间常量
    public static final Integer ADMIN_LOGIN_CAPTCHA_TTL_SEC = 60;
    //  APP登录Key前缀
    public static final String APP_LOGIN_PREFIX = "app:login:";
    //   APP登录验证码发送间隔时间常量
    public static final Integer APP_LOGIN_CODE_RESEND_TIME_SEC = 60;
    //  APP验证码过期时间常量
    public static final Integer APP_LOGIN_CODE_TTL_SEC = 60 * 10;
    //  APP房间Key前缀
    public static final String APP_ROOM_PREFIX = "app:room:";
}
